Skip to main content

Check File Name Includes

Check File Name Includes (v2.0.0)

Check if a file name includes specific terms. Only needs to match one term

View Source

Inputs:

Name: Terms 

Type: string

Tooltip:

Specify terms to check for in file name using comma seperated list e.g. _720p,_1080p
Name: Pattern (regular expression) 

Type: string

Tooltip:

Specify the pattern (regex) to check for in file name e.g. ^Pattern.*mkv$
Name: Include file directory in check 

Type: boolean

Tooltip:

Should the terms and patterns be evaluated against the file directory e.g. false, true

Outputs:

1: File name contains terms or patterns
2: File name does not contain any of the terms or patterns